package com.github.pojo;

import lombok.Getter;
import lombok.Setter;

/**
 * @author fatfish
 * @version 1.0
 * @date 2025/8/13 15:21
 */
@Getter
@Setter
public class User {
    private String name;

    public User() {
        System.out.println("User no-arg constructor called");
    }

    public User(String name) {
        this.name = name;
        System.out.println("User constructor with name called, name: " + name);
    }

    public void show() {
        System.out.println("User show method called, name: " + name);
    }
}
